<?php
class Maybay_model extends CI_Model{
    private $tbl='maybay';
            function __construct() {
        parent::__construct();
    }
    function load_by_id($MSMB) {
        $DB=$this->load->database('khachhang',TRUE);
        return $DB->get_where($this->tbl,array('MSMB'=>$DB->escape($MSMB)));
    }
}

